﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpWeb
{
    /// <summary>
    /// 站点上下文
    /// </summary>
    public class SiteContext
    {
        public SiteContext(ISite site)
        {
            _Site = site;
        }
        private ISite _Site;
        /// <summary>
        /// 此上下文关联到的站点
        /// </summary>
        public ISite Site
        {
            get { return _Site; } 
        }
        
        public string Name { get;internal set; }
        public string Description { get;internal set; }
        public string HomePage { get;internal set; }
        public string BaseUrl { get; internal set; }
    }
}
